<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no">
    <title>评级测算</title>
    <link rel="stylesheet" href="css/bootstrap.min.css"/>
    <link rel="stylesheet" href="css/layui.css">
    <link rel="stylesheet" href="css/modules/layer/default/layer.css">
    <style type="text/css">
        body {
            background-color: white;
        }

        #forEnsure, #forCredit {
            cursor: pointer;
        }

        #forEnsure:hover, #forCredit:hover {
            background-color: #00AEAE;
        }
        b{
        	display:inline-block;
        	width:10.5px;
        }
    </style>
</head>

<!--页面主体部分-->
<body>
<form class="" style="margin: 0 auto; text-align: center;">
    <div class="form-horizontal"
         style="margin-top: 20px; text-align: center;" id="applyMess">
  <div class="form-group" style="transform:translateX(25%)">
  	<label class="col-sm-2 control-label" for="formGroupInputLarge">申请授信金额（万元）:</label>
    <div class="col-sm-3">
      <input class="form-control" type="text" id="sqsx" placeholder="申请授信金额（万元）" maxlength="4" >
    </div>
  </div>
  <div class="form-group" style="transform:translateX(25%)">
  	<label class="col-sm-2 control-label" for="formGroupInputLarge">申<b></b>请<b></b>期<b></b>限<b></b>（月）:</label>
    <div class="col-sm-3">
      <input class="form-control" type="text" id="sqqx" placeholder="申请期限（月）" onkeyup="(this.v=function(){this.value=this.value.replace(/[^0-9-]+/,'');}).call(this)">
    </div>
  </div>
   <button type="button"  class="layui-btn layui-btn"  style="width: 100px" onclick="back()">返回
   </button>
    <button type="button" id="passID"  class="layui-btn layui-btn">评级测算</button>
    </div>
<!--  pass-->
    <div class="" id="ifPass" style="display:none; margin-top: 20px;">
        <div style="width: 90%; margin: 0 auto">
            <nav class="navbar navbar-default" role="navigation">
                <div class="container-fluid"></div>
                <div class="navbar-brand">
                    <p>状态：<span style="color: #00A600;margin-right:5px">通过</span><span id="statusTips" style="font-size:13px;"></span></p>
                </div>
            </nav>
        </div>
        <table class="table table-bordered" id="ensure"
               style="width: 95%; margin: 0 auto">
            <thead>
            <tr>
                <th style="text-align: center;width: 120px;">客户名称</th>
                <th style="text-align: center;width: 70px;">申请金额(万元)</th>
                <th style="text-align: center;width: 70px;">申请期限(月)</th>
                <th style="text-align: center;width: 70px;">评级结果</th>
<!--                 <th style="text-align: center;width: 70px;">最高授信额度(万元)</th> -->
                <th style="text-align: center;width: 90px;">类型</th>
                <th style="text-align: center">额度(万元)</th>
                <th style="text-align: center">一年期月利率(‰)</th>
                <th style="text-align: center">日利率</th>
                <th style="text-align: center">生成日期</th>
                <th style="text-align: center">失效日期</th>
            </tr>
            </thead>
            <tbody id="listbody1">
	            <tr>
	                <td rowspan='3' id="custName" style="height: 90px; line-height: 90px"></td>
	                <td rowspan='3' id="applyAmountShow" style="line-height: 90px"></td>
	                <td rowspan='3' id="applyTermShow" style="line-height: 90px"></td>
	                <td rowspan='3' id="pjJb" style="line-height: 90px"></td>
	                <td style="line-height: 30px">信用</td>
	                <td id="creditAmount" style="line-height: 30px"></td>
	                <td id="creditMonthRate" style="line-height: 30px"></td>
	                <td id="creditRate" style="line-height: 30px">$日息1$</td>
	                <td rowspan='3' id="crtDate" style="line-height: 90px"></td>
	                <td rowspan='3' id="loseDate" style="line-height: 90px"></td>
	            </tr>
	            <tr>
	            	<td style="line-height: 30px">抵押</td>
	                <td id="pledgeAmount" style="line-height: 30px"></td>
	                <td id="pledgeMonthRate" style="line-height: 30px"></td>
	                <td id="pledgeRate" style="line-height: 30px">$日息1$</td>
	            </tr>
            </tbody>
        </table>
        <br/>
     <button type="button" class="layui-btn layui-btn" style="width: 100px" onclick="back()">返回 </button>
     <button type="button" class="layui-btn layui-btn" style="width: 100px" onclick="scspCommit()" id="addButton">提交</button>
    </div>

    <div class="" id="ifFail" style="display:none; margin-top: 20px;">
        <div style="margin: 0 auto; width: 90%;">
            <nav class="navbar navbar-default" role="navigation">
                <div class="container-fluid"></div>
                <div class="navbar-brand">
                    <p>状态：<span style="color: #FF5151;">拒绝</span></p>
                </div>
            </nav>
        </div>

        <table class="table table-bordered table-striped table-hover"
               style="width: 90%; margin: 0 auto">
            <thead>
            <tr>
                <th style="text-align: center">客户名称</th>
                <th style="text-align: center">申请金额（万元)</th>
                <th style="text-align: center">申请期限（月）</th>
                <th style="text-align: center">评级结果</th>
                <th style="text-align: center">拒绝原因</th>
                <th style="text-align: center">生成日期</th>

            </tr>
            </thead>
            <tbody id="listbody2">
            <tr>
                <td align="center" height="300" colspan="9 ">暂时没有内容</td>
            </tr>
            </tbody>
        </table>
    </div>

</form>
</body>
<!--页面初始化以及页面的元素的绑定事件等... -->
<script type="text/javascript" src="js/jquery-2.1.4.min.js"></script>
<script type="text/javascript" src="layui.js"></script>
<script type="text/javascript" src="ag/common/util.js"></script>
<script type="text/javascript" src="ag/pjcs/pjcs.js"></script>
	
</html>
